#include "global.h"
#include "timer.h"
#include "buzz.h"
#include "test.h"

static i = 0;
static void test_timer_cb(void)
{
	BSP_LED_B = !BSP_LED_B;
	if(i <= 5)
	{
		user_timer_restart(TEST_USER_TIMER,1000,test_timer_cb);
	}
    i++;
}

void test_entrance(void)
{
    user_timer_restart(TEST_USER_TIMER,600,test_timer_cb);
}

